tools/dombuilder: Initialise vcpu debug registers correctly
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 5 Nov 2018 14:04:46 +0000 (15:04 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 5 Nov 2018 14:04:46 +0000 (15:04 +0100)
commit8f3f58c1c060a2b392d6e386368577b3f4ebab32
tree98a894c129ab81217c8744e30fda067c5b4051d8
parent06a50b02d58d812158b4efdb8820be89d6565534
tools/dombuilder: Initialise vcpu debug registers correctly

In particular, initialising %dr6 with the value 0 is buggy, because on
hardware supporting Transactional Memory, it will cause the sticky RTM bit to
be asserted, even though a debug exception from a transaction hasn't actually
been observed.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
master commit: 46029da12e5efeca6d957e5793bd34f2965fa0a1
master date: 2018-10-24 14:43:05 +0100
tools/libxc/xc_dom_x86.c